package com.antball.aaa.obsever_mediator;

/**
 * @Auther: huangsj
 * @Date: 2019/8/8 11:08
 * @Description:
 */
public abstract class EventConsumer {

    private EventType eventType;
    public EventConsumer(){}

    public EventConsumer(EventType eventType) {
        this.eventType = eventType;
    }

    public EventType getEventType() {
        return eventType;
    }

    public abstract void exec(ControlEvent event);
}
